return;
this.isOpen = true;
+ this.emit('open-state-changed', true);
this.actor.show();
onCompleteScope: this,
onComplete: function() {
this.actor.set_height(-1);
- this.emit('open-state-changed', true);
}
});
} else {
this._arrow.rotation_angle_z = 90;
- this.emit('open-state-changed', true);
}
},
return;
this.isOpen = false;
+ this.emit('open-state-changed', false);
if (this._activeMenuItem)
this._activeMenuItem.setActive(false);
onComplete: function() {
this.actor.hide();
this.actor.set_height(-1);
-
- this.emit('open-state-changed', false);
},
onUpdateScope: this,
onUpdate: function() {
} else {
this._arrow.rotation_angle_z = 0;
this.actor.hide();
-
- this.isOpen = false;
- this.emit('open-state-changed', false);
}
},